package com.xbongbong.pro.cabinetfile.pojo.dto;/*/*/

import com.xbongbong.paas.domain.entity.ext.ConditionsEntityExt;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.paas.toolbox.wrap.QueryIgnore;
import com.xbongbong.saas.enums.XbbRefTypeEnum;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author 魏荣杰
 * @date 2019/6/25 16:14
 * @since v1.0
 * @version v1.0
 */
@Setter
@Getter
@ToString
public class CabinetFileListGetDTO extends BaseDTO {
    private static final long serialVersionUID = -3931654336272356913L;
    /**
     * 业务类型
     * @see XbbRefTypeEnum
     */
    private Integer businessType;
    /**
     * 数据id
     */
    @NotNull(message = "{dto.msg.cabinetFileListGet.dataId.NotNull}")
    private Long dataId;
    /**
     * 菜单id
     */
    private Long menuId;
    /**
     * 关联的业务
     * @see XbbRefTypeEnum
     */
    private Integer linkBusinessType;
    /**
     * 是否是saas，paas
     */
    private Integer saasMark;
    private Integer page;
    private Integer pageSize;
    /**
     * 搜索条件
     */
    @Getter(onMethod_ = {@QueryIgnore})
    private List<ConditionsEntityExt> conditions = new ArrayList<>();
}
